﻿<%@ Page Title="" Language="C#" MasterPageFile="~/Site.Master" AutoEventWireup="true" CodeBehind="os.aspx.cs" Inherits="Intrack.os" %>
<asp:Content ID="Content1" ContentPlaceHolderID="HeadContent" runat="server">
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="MainContent" runat="server">
    <asp:MultiView ID="MultiView1" runat="server">
        <asp:View ID="View1" runat="server">
            <asp:LinkButton ID="btnNovaOs" runat="server" onclick="btnNovaOs_Click">Nova OS</asp:LinkButton>
&nbsp;<asp:GridView ID="GridView1" runat="server" AutoGenerateColumns="False" 
                CellPadding="4" ForeColor="#333333" GridLines="None">
                <AlternatingRowStyle BackColor="White" />
                <Columns>
                    <asp:BoundField DataField="idOS" HeaderText="idOS" SortExpression="idOS" />
                    <asp:BoundField DataField="Cod" HeaderText="Cod" SortExpression="Cod" />
                    <asp:BoundField DataField="idCliente" HeaderText="idCliente" 
                        SortExpression="idCliente" />
                </Columns>
                <FooterStyle BackColor="#990000" Font-Bold="True" ForeColor="White" />
                <HeaderStyle BackColor="#990000" Font-Bold="True" ForeColor="White" />
                <PagerStyle BackColor="#FFCC66" ForeColor="#333333" HorizontalAlign="Center" />
                <RowStyle BackColor="#FFFBD6" ForeColor="#333333" />
                <SelectedRowStyle BackColor="#FFCC66" Font-Bold="True" ForeColor="Navy" />
                <SortedAscendingCellStyle BackColor="#FDF5AC" />
                <SortedAscendingHeaderStyle BackColor="#4D0000" />
                <SortedDescendingCellStyle BackColor="#FCF6C0" />
                <SortedDescendingHeaderStyle BackColor="#820000" />
            </asp:GridView>
        </asp:View>
        <asp:View ID="View2" runat="server">
            Nº OS:<asp:TextBox ID="TextBox1" runat="server"></asp:TextBox>
            <br />
            Cliente:<asp:DropDownList ID="DropDownList1" runat="server">
            </asp:DropDownList>
            <br />
            <asp:Button ID="btnGravar" runat="server" onclick="btnGravar_Click" 
                Text="Gerar" />
        </asp:View>
    </asp:MultiView>
</asp:Content>
